<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增进件+申请接口')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-register-add">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">：</label>
                    <div class="col-sm-8">
                        <input name="city" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">：</label>
                    <div class="col-sm-8">
                        <input name="province" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">：</label>
                    <div class="col-sm-8">
                        <input name="ipAddress" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">手机号：</label>
                    <div class="col-sm-8">
                        <input name="userPhone" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">手机号md5：</label>
                    <div class="col-sm-8">
                        <input name="userPhoneMd5" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">：</label>
                    <div class="col-sm-8">
                        <input name="idCard" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">：</label>
                    <div class="col-sm-8">
                        <input name="name" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">性别 0:女 1:男：</label>
                    <div class="col-sm-8">
                        <select name="sex" class="form-control" th:with="type=${@dict.getType('form_sex')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">月收入 1： 2000以下 2：2000-5000 3：5000-10000 4：10000以上：</label>
                    <div class="col-sm-8">
                        <select name="monthlyIncome" class="form-control" th:with="type=${@dict.getType('form_monthly_income')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">贷款金额(单位：万)：</label>
                    <div class="col-sm-8">
                        <input name="loanAmount" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">学历 1：初中及以下 2：高中或中专 3：大专 4：本科 5：研究生及以上(没有默认本科)：</label>
                    <div class="col-sm-8">
                        <select name="qualification" class="form-control" th:with="type=${@dict.getType('qualification')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">职业 1：上班族 2：公务员/事业单位 3：私营业主：</label>
                    <div class="col-sm-8">
                        <select name="profession" class="form-control" th:with="type=${@dict.getType('profession')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">公积金 1：无公积金 2：缴纳未满6个月 3：缴纳6个月以上：</label>
                    <div class="col-sm-8">
                        <select name="gjj" class="form-control" th:with="type=${@dict.getType('form_gjj')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">社保 1：无社保 2：缴纳未满6个月 3：缴纳6个月以上：</label>
                    <div class="col-sm-8">
                        <select name="socialInsurance" class="form-control" th:with="type=${@dict.getType('social_insurance')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">房产情况 1：无房产 2：有房：</label>
                    <div class="col-sm-8">
                        <select name="house" class="form-control" th:with="type=${@dict.getType('house')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">车产情况 1：无车产 2：有车：</label>
                    <div class="col-sm-8">
                        <select name="car" class="form-control" th:with="type=${@dict.getType('form_car')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">芝麻分 1：无芝麻分 2：600分以下 3：600~650分 4：650~700分 5：700分以上：</label>
                    <div class="col-sm-8">
                        <select name="sesame" class="form-control" th:with="type=${@dict.getType('sesame')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">保单 1：无保单 :2：缴纳不足一年 :3：缴纳1年以上 4：缴纳2年以上：</label>
                    <div class="col-sm-8">
                        <select name="insurancePolicy" class="form-control" th:with="type=${@dict.getType('insurance_policy')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">工资发放形式 1：银行卡 2：现金 3：自存：</label>
                    <div class="col-sm-8">
                        <select name="payType" class="form-control" th:with="type=${@dict.getType('pay_type')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">信用卡 1：无信用卡 2:有信用卡：</label>
                    <div class="col-sm-8">
                        <select name="creditCard" class="form-control" th:with="type=${@dict.getType('credit_card')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">人行征信情况 1：无人行征信记录 2：人行征信良好无逾期 3：人行征信近2两年有60天以内的逾期 4：人行征信近2两年有60天以上逾期 5：人行征信近两年有90天以上逾期 ：</label>
                    <div class="col-sm-8">
                        <select name="creditInformation" class="form-control" th:with="type=${@dict.getType('credit_information')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">1待推送  2已推送：</label>
                    <div class="col-sm-8">
                        <select name="state" class="form-control" th:with="type=${@dict.getType('form_state')}">
                            <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "form/register"
        $("#form-register-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-register-add').serialize());
            }
        }
    </script>
</body>
</html>